.home-page { padding: 16px; }
.home-actions { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.home-actions .btn { padding: 6px 10px; border: none; border-radius: 6px; background: var(--primary); color: #fff; cursor: pointer; }
.row { display: flex; gap: 12px; margin-bottom: 12px; }
.card { background: #fff; border: 1px solid #eee; border-radius: 12px; box-shadow: 0 6px 16px rgba(0,0,0,0.06); padding: 16px; }
.card-greet { min-width: 280px; width: 30%; }
.card-overview { width: 70%; }
.greet-user { display: flex; align-items: center; }
.avatar { width: 60px; height: 60px; border-radius: 50%; border: 1px solid #eee; }
.greet-text { margin-left: 20px; display: flex; flex-direction: column; }
.hello { font-size: 20px; opacity: 0.8; }
.ip { margin-top: 4px; opacity: 0.6; }
.desc { margin-top: 16px; font-size: 14px; opacity: 0.6; }
.tip { margin-top: 8px; text-align: right; font-size: 12px; opacity: 0.4; }

.overview-items { display: flex; justify-content: space-around; gap: 60px; align-items: center; height: 100%; }
.overview-item { display: flex; align-items: center; }
.overview-item .icon { width: 40px; height: 40px; border: 1px solid #999; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #999; margin-right: 10px; }
.overview-item .text { text-align: center; }
.overview-item .num { font-size: 22px; }
.overview-item .label { opacity: 0.6; }

.card-profit { width: 50%; }
.card-activity { width: 25%; }
.card-notice { width: 25%; }
.card-chart { width: 100%; }

.profit-header { display: flex; justify-content: space-between; align-items: center; }
.header-extra { font-size: 14px; opacity: 0.8; }
.profit-body .price { color: #e41823; }
.profit-body .big { font-size: 26px; }
.profit-list { display: flex; justify-content: space-between; font-size: 14px; }
.profit-list .price { font-size: 20px; }
.divider { margin: 20px 0 12px; text-align: center; opacity: 0.6; }
.print-body .big { font-size: 26px; color: #e41823; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.warn { color: #e41823; }
.highlight { color: #e41823; }

.card-activity .card-header { display: flex; justify-content: space-between; align-items: center; }
.card-activity .link { cursor: pointer; color: var(--primary); opacity: 0.8; }
.list { margin-top: 12px; }
.list li { padding: 10px; border-radius: 8px; border: 1px solid #eee; cursor: pointer; }
.list li + li { margin-top: 8px; }
.title { font-weight: 600; margin-bottom: 4px; }
.time { font-size: 12px; opacity: 0.8; }

.tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.tab { padding: 8px 12px; border: 1px solid #eee; border-radius: 8px; background: #fafafa; cursor: pointer; }
.tab.active { background: var(--primary-bg); color: var(--primary); border-color: var(--primary-border); }
.notice-list { display: flex; flex-direction: column; gap: 8px; }
.notice-item { border: 1px solid #eee; border-radius: 8px; padding: 10px; }
.notice-title { font-weight: 600; }
.notice-time { font-size: 12px; color: #999; margin-top: 6px; }

@media (max-width: 1200px) {
  .row { flex-direction: column; }
  .card-greet, .card-overview, .card-profit, .card-activity, .card-notice { width: 100%; }
}